Skip to main content

scriptExecutionError

Type

message

Summary

The scriptExecutionError message is sent to the global script (home stack) when an uncaught error is encountered.

Syntax

scriptExecutionError <pErrorStack>, <pFilesList>

Description

The scriptExecutionError message is sent to the global script (home stack) when an uncaught error is encountered.

scriptExecutionError is only available when running in CGI mode (Server).

Parameters

NameTypeDescription

pErrorStack

The standard engine error stack listing, detailing the errors that occurred at each stage of the stack being unwound.

pFilesList

The list of all files that have been 'included' / 'required' which the error stack references if an error occurred in the context of a file script rather then an object script.

Examples

on scriptExecutionError pErrorStack, pFilesList
put pErrorStack & return & pFilesList
end scriptExecutionError

property: errorMode

Compatibility and Support

Introduced

LiveCode 4.6.3

OS

mac

windows

linux

Platforms

server

Thank you for your feedback!

Was this page helpful?